package com.example.lishop.service

import com.example.lishop.entity.BTestEntity
import org.springframework.data.domain.Page

/**
 * Created on 2021/3/14 17:58
 * @author shuguo
 */
interface TestService {
    fun add(data: BTestEntity):BTestEntity
    fun update(data: BTestEntity)
    fun del(id:Int)
    fun list (page:Int, size:Int): Page<BTestEntity>
    fun detail(id: Int): BTestEntity?
}